//建立key中文映射
const keyMap: Record<string, string> = {
    description: '故障描述',
    address: '设备地址',
    equNo: '设备编号',
    level: '告警等级',
    time: '故障时间',
    code: '故障代码',
    status: '故障状态',
  };

  const getLabel = (key: string) => {
    return keyMap[key] || key;
  };

  export { getLabel };

